<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>隐私设置 - 贵州四季康养文旅</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tdesign-icons-vue-next/dist/index.min.css">
    <style>
        body {
            font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
            background-color: #f0f2f5;
            color: #333;
            overflow-x: hidden;
        }
        .setting-group {
            margin-bottom: 16px;
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
        }
        .setting-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px;
            border-bottom: 1px solid #f0f0f0;
        }
        .setting-item:last-child {
            border-bottom: none;
        }
        .group-title {
            padding: 12px 16px;
            font-size: 14px;
            color: #666;
            background-color: #f9f9f9;
        }
        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 52px;
            height: 32px;
        }
        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        .toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 34px;
        }
        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 24px;
            width: 24px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }
        input:checked + .toggle-slider {
            background-color: #0052d9;
        }
        input:checked + .toggle-slider:before {
            transform: translateX(20px);
        }
        .privacy-info {
            padding: 16px;
            font-size: 13px;
            color: #666;
            line-height: 1.5;
        }
    </style>
</head>
<body>
    <div class="pb-16"> <!-- 底部导航栏的空间 -->
        <!-- 顶部导航 -->
        <header class="bg-white p-4 flex items-center shadow-sm">
            <a href="../settings/settings.html" class="mr-4">
                <i class="t-icon t-icon-arrow-left text-xl"></i>
            </a>
            <h1 class="text-lg font-medium flex-1 text-center">隐私设置</h1>
        </header>
        
        <!-- 隐私设置内容 -->
        <div class="p-4">
            <!-- 个人信息隐私 -->
            <div class="setting-group">
                <div class="group-title">个人信息隐私</div>
                
                <div class="setting-item">
                    <div>
                        <div class="font-medium">个人资料公开范围</div>
                        <div class="text-xs text-gray-500 mt-1">控制谁可以查看您的个人资料信息</div>
                    </div>
                    <div class="flex items-center text-gray-500">
                        <span class="mr-2">仅好友</span>
                        <i class="t-icon t-icon-chevron-right"></i>
                    </div>
                </div>
                
                <div class="setting-item">
                    <div>
                        <div class="font-medium">允许通过手机号找到我</div>
                        <div class="text-xs text-gray-500 mt-1">他人可通过手机号搜索并添加您为好友</div>
                    </div>
                    <label class="toggle-switch">
                        <input type="checkbox" checked>
                        <span class="toggle-slider"></span>
                    </label>
                </div>
                
                <div class="setting-item">
                    <div>
                        <div class="font-medium">允许通过位置找到我</div>
                        <div class="text-xs text-gray-500 mt-1">在附近的人中可以被他人找到</div>
                    </div>
                    <label class="toggle-switch">
                        <input type="checkbox">
                        <span class="toggle-slider"></span>
                    </label>
                </div>
            </div>
            
            <!-- 社交互动隐私 -->
            <div class="setting-group">
                <div class="group-title">社交互动隐私</div>
                
                <div class="setting-item">
                    <div>
                        <div class="font-medium">谁可以给我发消息</div>
                        <div class="text-xs text-gray-500 mt-1">设置可以与您进行私聊的用户范围</div>
                    </div>
                    <div class="flex items-center text-gray-500">
                        <span class="mr-2">所有人</span>
                        <i class="t-icon t-icon-chevron-right"></i>
                    </div>
                </div>
                
                <div class="setting-item">
                    <div>
                        <div class="font-medium">谁可以查看我的社区发布</div>
                        <div class="text-xs text-gray-500 mt-1">设置可以查看您在社区发布内容的用户范围</div>
                    </div>
                    <div class="flex items-center text-gray-500">
                        <span class="mr-2">所有人</span>
                        <i class="t-icon t-icon-chevron-right"></i>
                    </div>
                </div>
                
                <div class="setting-item">
                    <div>
                        <div class="font-medium">允许陌生人评论我的内容</div>
                    </div>
                    <label class="toggle-switch">
                        <input type="checkbox" checked>
                        <span class="toggle-slider"></span>
                    </label>
                </div>
            </div>
            
            <!-- 数据与安全 -->
            <div class="setting-group">
                <div class="group-title">数据与安全</div>
                
                <div class="setting-item">
                    <div>
                        <div class="font-medium">位置服务</div>
                        <div class="text-xs text-gray-500 mt-1">控制应用访问您位置信息的权限</div>
                    </div>
                    <div class="flex items-center text-gray-500">
                        <span class="mr-2">使用时允许</span>
                        <i class="t-icon t-icon-chevron-right"></i>
                    </div>
                </div>
                
                <div class="setting-item">
                    <div>
                        <div class="font-medium">个性化广告</div>
                        <div class="text-xs text-gray-500 mt-1">根据您的兴趣偏好推送广告</div>
                    </div>
                    <label class="toggle-switch">
                        <input type="checkbox" checked>
                        <span class="toggle-slider"></span>
                    </label>
                </div>
                
                <div class="setting-item">
                    <div>
                        <div class="font-medium">个人数据下载</div>
                        <div class="text-xs text-gray-500 mt-1">下载您在平台上的个人数据副本</div>
                    </div>
                    <i class="t-icon t-icon-chevron-right text-gray-500"></i>
                </div>
                
                <div class="setting-item">
                    <div>
                        <div class="font-medium">清除浏览记录</div>
                        <div class="text-xs text-gray-500 mt-1">清除您在平台上的浏览足迹</div>
                    </div>
                    <i class="t-icon t-icon-chevron-right text-gray-500"></i>
                </div>
            </div>
            
            <div class="privacy-info">
                <p>贵州四季康养文旅小程序尊重并保护您的隐私权。我们会严格遵守相关法律法规，采取必要措施保护您的个人信息安全。</p>
                <p class="mt-2">更多详情，请查看<a href="#" class="text-blue-600">《隐私政策》</a>。</p>
            </div>
        </div>
    </div>
    
    <!-- 底部导航 -->
</body>
</html> 